Gets a client view of entities loaded using a given queryName.

Namespace:  C1.Silverlight.Data.RiaServices
Assembly:  C1.Silverlight.Data.Entity (in C1.Silverlight.Data.Entity.dll)

Syntax

C#
public ClientView<T> GetItems<T>(
	string queryName,
	IDictionary<string, Object> parameters
)
where T : Entity
Visual Basic
Public Function GetItems(Of T As Entity) ( _
	queryName As String, _
	parameters As IDictionary(Of String, Object) _
) As ClientView(Of T)

Parameters

queryName
Type: System..::..String
The name of the query used to load entities.
parameters
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, Object>)>)>
Optional query parameters for the queryName.

Type Parameters

T
The type of entities returned by the queryName.

Return Value

A client view of entities loaded by the specified queryName.

See Also